<!--{*Part of the CEFIRO project by dyrtech.com.ve. Copyleft GPLv3 2007. Please see the disclaimer at the root of the project: http://dyrtech.com.ve/cefiro/license.txt*}-->
<script type="text/php">

	if ( isset($pdf) ) {literal} { {/literal}

		$imgheader = $pdf->open_object();

		{if $center == "true"}
			$offset = $pdf->get_width()/2 - {$width}/2 + {$x};
		{else}
			$offset = {$x};
		{/if}

		$pdf->image("{$src}","{$ext}",$offset,{$y},{$width},{$height});

		$pdf->close_object();

		$pdf->add_object($imgheader, "all");

	{literal} } {/literal}
</script>